Component org.nuxeo.ecm.platform.comment.defaultPermissions
In bundle org.nuxeo.ecm.platform.comment
Requirements
- org.nuxeo.ecm.platform.content.template.service.ContentTemplateService.defaultContrib
- org.nuxeo.ecm.core.security.defaultPermissions
Resolution Order
309
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime
framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.
Contributions
- org.nuxeo.ecm.platform.comment.defaultPermissions--permissions
- org.nuxeo.ecm.platform.comment.defaultPermissions--factoryBinding
XML Source
<?xml version="1.0" encoding="UTF-8"?>
<component name="org.nuxeo.ecm.platform.comment.defaultPermissions">
<require>org.nuxeo.ecm.core.security.defaultPermissions</require>
<require>org.nuxeo.ecm.platform.content.template.service.ContentTemplateService.defaultContrib</require>
<extension target="org.nuxeo.ecm.core.security.SecurityService"
point="permissions">
<permission name="Comment">
<include>WriteLifeCycle</include>
</permission>
<permission name="Moderate" />
</extension>
<extension
target="org.nuxeo.ecm.platform.content.template.service.ContentTemplateService"
point="factoryBinding">
<factoryBinding name="CommentRootFactory" factoryName="SimpleTemplateFactory"
targetType="CommentRoot">
<acl>
<ace granted="true" permission="AddChildren" principal="members"/>
<ace granted="true" permission="RemoveChildren" principal="members"/>
</acl>
</factoryBinding>
</extension>
</component>